<include file="public:header" /><br>
<!--会员列表-->
<div class="pad_lr_10" >
    <form name="searchform" method="get" >
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
            <tr>
                <td>
                <div class="explain_col">
                    <input type="hidden" name="g" value="admin" />
                    <input type="hidden" name="m" value="order_detail" />
                    <input type="hidden" name="a" value="index" />
                    <input type="hidden" name="menuid" value="{$menuid}" />
                    <input type="hidden" name="type" value="{$search.type}" />
                    &nbsp;会员帐号 :
                    <input name="keyword" type="text" class="input-text" size="15" value="{$search.keyword}" />
                    &nbsp;手机号 :
                    <input name="tele" type="text" class="input-text" size="15" value="{$search.tele}" />
                    
                      <span class="select_shelter"> 
                                <select name="topkey" class="order_select " style="width:112px;">
                                    <option value="">团队名称(全部)</option>
                                    <volist name="topkey" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$val}"
                                            <if condition="$search.topkey eq $val">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>
                        &nbsp;&nbsp;升级状态 :
                        <span class="select_shelter"> 
                                <select name="lottery" class="order_select " style="width:112px;">
                                    <option value="-1">升级状态(全部)</option>
                                    <volist name="lottery" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$key}"
                                            <if condition="$search.lottery eq $key">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>
                        
                             &nbsp;&nbsp;订单状态 :
                        
                        <span class="select_shelter"> 
                                <select name="status" class="order_select " style="width:112px;">
                                    <option value="-1">订单状态(全部)</option>
                                    <volist name="status" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$key}"
                                            <if condition="$search.status eq $key">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>
                        
                        
                      
                    <span >时间：</span><input type="text" name="stime" class="J_date_picker order_text short" value="{$search[stime]}" style="width:100px"> <span class="">~</span> <input type="text" name="etime" class="J_date_picker order_text short" value="{$search[etime]}" style="width:100px">

                    <input type="submit" name="search" class="btn" value="搜索" />
                    <input type="submit" name="export" class="btn mr10" value="导出到Excel文件">
                </div>
                    <div>
            <tr>
                <td>
                    <div class="explain_col" style="margin-top:10px;">
                        升级失败提货额：{$order.failed}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                        升级成功提货额：{$order.success_delivery}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                        升级成功退款额：{$order.success_refund}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                        总交易额：{$order.total}元
                    </div>
                </td>
            </tr>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
    </form>

    <div class="J_tablelist table_list" data-acturi="">
    <table width="100%" cellspacing="0">
        <thead>
			<tr>
                <th width="120" align="center">订单日期</th>
                <th width="100" align="center">用户账号</th>
                <th width="120" align="center">手机号</th>
                <th width="100" align="center">所属经纪人</th>
                <th width="100" align="center">所属全民经纪人</th>
                <th width="100" align="center">订单金额</th>
                <th width="100" align="center">升级状态</th>
       
                   <th width="100" align="center">订单状态</th>
                   <th width="120">代理商名称</th>
                   <th width="120">经销商名称</th>
                    <th width="120">总经销商名称</th>
                <th width="50" >团队名称</th>
                
            </tr>
        </thead>
    	<tbody>
            <volist name="list" id="val" >
            <tr>
            <td align="center">{$val.add_time}</td>
            <td align="center">{$val.uname}</td>
            <td align="center">{$val.tele}</td>
            <td align="center">{$val.tgroup_4_name}</td>
           <td align="center">{$val.tgroup_5_name}</td>
           <td align="center">{$val.prices}</td>
           <td align="center">{$val.update_status}</td>
           <td align="center">{$val.order_status}</td>
          <td align="center">{$val.tgroup_3_name}</td>
          <td align="center">{$val.tgroup_2_name}</td>
          <td align="center">{$val.tgroup_1_name}</td>
           <td align="center">{$val.topkey}</td>
            
            </tr>
            </volist>
        
        <tr>
                <td align="center">总计:</td>
            <td align="center"></td>
            <td></td>
            <td></td>
           <td></td>
           <td align="center">{$sum}</td>
           <td></td>
           <td></td>
          <td></td>
          <td></td>
          <td></td>
           <td></td>
            
            </tr>
    	</tbody>
    </table>
    <div class="btn_wrap_fixed">
        <!-- <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>
        <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('user_recharge/delete')}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" /> -->
        <div id="pages">{$page}</div>
    </div>

    </div>
</div>
<include file="public:footer" />
</body>
</html>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
